
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon webim webim-K"></i>
                    <div class="name">图片</div>
                    <div class="fontclass">.webim-K</div>
                </li>
            
                <li>
                <i class="icon webim webim-D"></i>
                    <div class="name">展开</div>
                    <div class="fontclass">.webim-D</div>
                </li>
            
                <li>
                <i class="icon webim webim-z"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.webim-z</div>
                </li>
            
                <li>
                <i class="icon webim webim-i"></i>
                    <div class="name">icon_音量</div>
                    <div class="fontclass">.webim-i</div>
                </li>
            
                <li>
                <i class="icon webim webim-A"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.webim-A</div>
                </li>
            
                <li>
                <i class="icon webim webim-J"></i>
                    <div class="name">表情</div>
                    <div class="fontclass">.webim-J</div>
                </li>
            
                <li>
                <i class="icon webim webim-T"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.webim-T</div>
                </li>
            
                <li>
                <i class="icon webim webim-d"></i>
                    <div class="name">切换相机</div>
                    <div class="fontclass">.webim-d</div>
                </li>
            
                <li>
                <i class="icon webim webim-R"></i>
                    <div class="name">视频</div>
                    <div class="fontclass">.webim-R</div>
                </li>
            
                <li>
                <i class="icon webim webim-C"></i>
                    <div class="name">窗口 最小化</div>
                    <div class="fontclass">.webim-C</div>
                </li>
            
                <li>
                <i class="icon webim webim-l"></i>
                    <div class="name">摄像头</div>
                    <div class="fontclass">.webim-l</div>
                </li>
            
                <li>
                <i class="icon webim webim-L"></i>
                    <div class="name">加</div>
                    <div class="fontclass">.webim-L</div>
                </li>
            
                <li>
                <i class="icon webim webim-a"></i>
                    <div class="name">视频</div>
                    <div class="fontclass">.webim-a</div>
                </li>
            
                <li>
                <i class="icon webim webim-U"></i>
                    <div class="name">地理方位</div>
                    <div class="fontclass">.webim-U</div>
                </li>
            
                <li>
                <i class="icon webim webim-e"></i>
                    <div class="name">mic-c</div>
                    <div class="fontclass">.webim-e</div>
                </li>
            
                <li>
                <i class="icon webim webim-F"></i>
                    <div class="name">群组</div>
                    <div class="fontclass">.webim-F</div>
                </li>
            
                <li>
                <i class="icon webim webim-H"></i>
                    <div class="name">arrow_l</div>
                    <div class="fontclass">.webim-H</div>
                </li>
            
                <li>
                <i class="icon webim webim-I"></i>
                    <div class="name">arrow_r</div>
                    <div class="fontclass">.webim-I</div>
                </li>
            
                <li>
                <i class="icon webim webim-V"></i>
                    <div class="name">logo</div>
                    <div class="fontclass">.webim-V</div>
                </li>
            
                <li>
                <i class="icon webim webim-j"></i>
                    <div class="name">感叹号</div>
                    <div class="fontclass">.webim-j</div>
                </li>
            
                <li>
                <i class="icon webim webim-S"></i>
                    <div class="name">文件</div>
                    <div class="fontclass">.webim-S</div>
                </li>
            
                <li>
                <i class="icon webim webim-b"></i>
                    <div class="name">固定放大</div>
                    <div class="fontclass">.webim-b</div>
                </li>
            
                <li>
                <i class="icon webim webim-c"></i>
                    <div class="name">固定缩小</div>
                    <div class="fontclass">.webim-c</div>
                </li>
            
                <li>
                <i class="icon webim webim-O"></i>
                    <div class="name">恶魔</div>
                    <div class="fontclass">.webim-O</div>
                </li>
            
                <li>
                <i class="icon webim webim-k"></i>
                    <div class="name">感叹号</div>
                    <div class="fontclass">.webim-k</div>
                </li>
            
                <li>
                <i class="icon webim webim-M"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.webim-M</div>
                </li>
            
                <li>
                <i class="icon webim webim-P"></i>
                    <div class="name">减</div>
                    <div class="fontclass">.webim-P</div>
                </li>
            
                <li>
                <i class="icon webim webim-W"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.webim-W</div>
                </li>
            
                <li>
                <i class="icon webim webim-E"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.webim-E</div>
                </li>
            
                <li>
                <i class="icon webim webim-X"></i>
                    <div class="name">hyphenate</div>
                    <div class="fontclass">.webim-X</div>
                </li>
            
                <li>
                <i class="icon webim webim-G"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.webim-G</div>
                </li>
            
                <li>
                <i class="icon webim webim-Q"></i>
                    <div class="name">退出</div>
                    <div class="fontclass">.webim-Q</div>
                </li>
            
                <li>
                <i class="icon webim webim-B"></i>
                    <div class="name">最大化</div>
                    <div class="fontclass">.webim-B</div>
                </li>
            
                <li>
                <i class="icon webim webim-h"></i>
                    <div class="name">iconfont-video2</div>
                    <div class="fontclass">.webim-h</div>
                </li>
            
                <li>
                <i class="icon webim webim-f"></i>
                    <div class="name">iconfont-mic2</div>
                    <div class="fontclass">.webim-f</div>
                </li>
            
                <li>
                <i class="icon webim webim-m"></i>
                    <div class="name">iconfont-Volume2</div>
                    <div class="fontclass">.webim-m</div>
                </li>
            
                <li>
                <i class="icon webim webim-L1"></i>
                    <div class="name">聊天-群聊</div>
                    <div class="fontclass">.webim-L1</div>
                </li>
            
                <li>
                <i class="icon webim webim-Z"></i>
                    <div class="name">音乐</div>
                    <div class="fontclass">.webim-Z</div>
                </li>
            
                <li>
                <i class="icon webim webim-n"></i>
                    <div class="name">黑名单</div>
                    <div class="fontclass">.webim-n</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>实际情况中"iconfont"（font-family）需要修改为你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
